<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--
#+------------------------------------------------------------------------------
#|
#| Cairolib is a series of extensions, examples, and libraries for the
#| Cairo graphics package (see http://www.cairographics.org).
#| This library is free software; you can redistribute it and/or
#| modify it under the terms of the GNU Lesser General Public
#| License as published by the Free Software Foundation; either
#| version 2.1 of the License, or (at your option) any later version.
#| 
#| This library is distributed in the hope that it will be useful,
#| but WITHOUT ANY WARRANTY; without even the implied warranty of
#| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
#| Lesser General Public License for more details.
#| 
#| You should have received a copy of the GNU Lesser General Public
#| License along with this library; if not, write to the Free Software
#| Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
#|
#+------------------------------------------------------------------------------
-->
<html>
<head>
    <title>Readme</title>
    <link rel="stylesheet" type="text/css" media="all" href="docs/html/css/theme.css" title="Default" />
</head>
<body>
<div class="container">
    <div class="header">
        ...
    </div>
    <div class="body">
        <h1>THIS DOCUMENT IS UNDER CONSTRUCTION<a name='THIS DOCUMENT IS UNDER CONSTRUCTION'></a></h1>
<h1>Installation Notes<a name='Installation Notes'></a></h1>
<p> Cairolib has several dependencies that must be obtained before any of the
libraries can be built. The following section describes the required
dependencies.
    <ul>
        <li><a href='#Setup Cairo'>Cairo</a></li>
        <li><a href='#Setup SWIG'>SWIG</a> (to build language add-ons)</li>
        <li><a href='#Setup PHP'>PHP</a> (for PHP extension)</li>
    </ul>
</p>
<p>

</p>
<h2>Setup SWIG<a name='Setup SWIG'></a></h2>
<p> First of all you'll need to install SWIG from <a href='http://www.swig.org'>http://www.swig.org</a>. After 
    installing it add the SWIG executable to your path.</p>
<p>

</p>
<h3>Check SWIG installation<a name='Check SWIG installation'></a></h3>
<p>Once you're done installing verify that your SWIG installation is correct
by typing:

</p>
<div style='font-family: courier; font-size: 0.8em; margin-left: 30px; width: 80%; background-color: #F0F0F0; border: 1px solid #C0C0C0;'><div style=''></div><div style=''>&nbsp;&nbsp;&nbsp;&nbsp;swig&nbsp;-version</div><div style=''></div></div><p>

This should display the version information for SWIG similar to the following:

</p>
<div style='font-family: courier; font-size: 0.8em; margin-left: 30px; width: 80%; background-color: #F0F0F0; border: 1px solid #C0C0C0;'><div style=''></div><div style=''>&nbsp;&nbsp;&nbsp;&nbsp;SWIG&nbsp;Version&nbsp;1.3.29</div><div style=''>&nbsp;&nbsp;&nbsp;&nbsp;</div><div style=''>&nbsp;&nbsp;&nbsp;&nbsp;Compiled&nbsp;with&nbsp;g++&nbsp;[i686-pc-mingw32]</div><div style=''>&nbsp;&nbsp;&nbsp;&nbsp;Please&nbsp;see&nbsp;http://www.swig.org&nbsp;for&nbsp;reporting&nbsp;bugs&nbsp;and&nbsp;further&nbsp;information</div><div style=''></div></div><p>

</p>
<h2>Setup PHP<a name='Setup PHP'></a></h2>
<p> If you want to create the PHP extension then you must first install PHP
    and it's associated libraries. PHP may be obtained in one of two ways:
        <ul>
            <li><a href='http://http://www.apachefriends.org/en/xampp.html'>XAMPP</a></li>
            <li><a href='http://php.net'>php.net</a></li>
        </ul></p>
<p>

</p>
<h2>Setup Cairo<a name='Setup Cairo'></a></h2>
<p> To build any of the extensions you'll need to install <a href='http://www.cairographics.org'> Cairo</a>
    somewhere. Under Linux it is fairly easy to build on your own.</p>
<p>


</p>

    </div>
</div>
</body>
</html>
